1c97358735a66488d11be010fb0b928a60e7332c,src/main/java/act/handler/builtin/controller/impl/ReflectedHandlerInvoker.java,ReflectedHandlerInvoker,handle,#ActionContext#,155

Before Change

After Change


        rv.apply(controllerClass, method);
    }

    public Result handle(ActionContext actionContext) throws Exception {
        actionContext.attribute("reflected_handler", this);
        if (null != forceResponseContentType) {
            actionContext.accept(forceResponseContentType);
        }
        if (null != forceResponseStatus) {
            actionContext.forceResponseStatus(forceResponseStatus);
        }
        if (disabled) {
            return ActNotFound.get();